package com.dou.you.che.web.job.base;

import org.quartz.DisallowConcurrentExecution;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

/**
 *
 * @Author 黄国刚【1058118328@qq.com】
 */
@DisallowConcurrentExecution
public abstract class BaseTask implements Job {

    public void execute(JobExecutionContext context) throws JobExecutionException {
        run();
    }

    public abstract void run();
}
